package com.asteros.crypto.test;

import com.asteros.common.util.io.IOUtil;

import java.io.FileInputStream;
import java.io.PrintStream;
/*import ru.CryptoPro.JCP.tools.Decoder;
import ru.CryptoPro.JCP.tools.Encoder;*/

public class _Test_Stub
{
  private static final void test() throws Exception  {
/*    Decoder decoder = new Decoder();
    Encoder encoder = new Encoder();
    String fileName = "H:/projects/websign/d-Source/test/test.pdf";

    FileInputStream input = new FileInputStream(fileName);
    byte[] buf = IOUtil.readFully(input);
    String res = encoder.encodeBuffer(buf);

    System.out.println("res=" + res);

    byte[] resBuf = decoder.decodeBuffer(res);
    String fileNameSaved = "H:/projects/websign/d-Source/test/test_saved.pdf";

    IOUtil.saveFile(resBuf, fileNameSaved);*/
  }

  public static void main(String[] strs)
  {
    System.out.println("test>>");
    try
    {
      test();
    } catch (Exception exc) {
      exc.printStackTrace();
    }

    System.out.println("<<");
  }
}

/* Location:           C:\Users\Kirill\Desktop\esign\esign\esign.jar
 * Qualified Name:     com.topsbi.crypto.test.TestBase
 * JD-Core Version:    0.6.0
 */